Secure the Clones

نویسندگان

  • Thomas P. Jensen
  • Florent Kirchner
  • David Pichardie
چکیده

Exchanging mutable data objects with untrusted code is a delicate matter because of the risk of creating a data space that is accessible by an attacker. Consequently, secure programming guidelines for Java stress the importance of using defensive copying before accepting or handing out references to an internal mutable object. However, implementation of a copy method (like clone()) is entirely left to the programmer. It may not provide a sufficiently deep copy of an object and is subject to overriding by a malicious sub-class. Currently no language-based mechanism supports secure object cloning. This paper proposes a type-based annotation system for defining modular copy policies for class-based object-oriented programs. A copy policy specifies the maximally allowed sharing between an object and its clone. We present a static enforcement mechanism that will guarantee that all classes fulfil their copy policy, even in the presence of overriding of copy methods, and establish the semantic correctness of the overall approach in Coq. The mechanism has been implemented and experimentally evaluated on clone methods from several Java libraries.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Variability in wood properties of promising willow clones

The objective of the article is to investigate the variability in growth and wood properties of the willow clones. The growth and wood traits of four year old 21 clones willow clones were investigated. Analysis of variance showed that willow clones differed significantly for all the studied growth and wood traits. Among the growth parameters the maximum heritability value was shown by height wh...

متن کامل

Composition of Seed Flour of Selected Nigerian Tea (Camellia sinensis) Clones – A Comparative Study

In the present article, six clones of Nigerian Tea (Camellia sinensis) were selected for comparative study. Proximate, phytochemical and functional characterization of the whole Tea seed flour (TSF) was examined. The characteristics of the expressed oil from the seed of the different clones were also carried out. Results shows that oil content ranged between 22.9% (C318) to 28.9% (C228...

متن کامل

بررسی حساسیت توده‌های پیاز ایرانی به بیماری ریشه‌سرخی

Pink root-rot disease caused by Pyrenochaeta terrestris is one of the serious diseases of onion fields in Iran and the world. The use of resistant cultivars might be a good alternative as suggested on the basis of the screening at the near end of growing season. The susceptibility assessment of 43 Iranian onion clones in glass-house condition in Isfahan for the last two successive years i.e. 20...

متن کامل

بررسی حساسیت توده‌های پیاز ایرانی به بیماری ریشه‌سرخی

Pink root-rot disease caused by Pyrenochaeta terrestris is one of the serious diseases of onion fields in Iran and the world. The use of resistant cultivars might be a good alternative as suggested on the basis of the screening at the near end of growing season. The susceptibility assessment of 43 Iranian onion clones in glass-house condition in Isfahan for the last two successive years i.e. 20...

متن کامل

Detection of Polymorphism in Ancient Tempranillo Clones (Vitis vinifera L.) Using Microsatellite and Retrotransposon Markers

Tempranillo is one of the most widely cultivated grapevine varieties in Spain. After several years of clone selection, some highly recommended old clones have been identified in terms of both their qualitative and production characteristics. This study was designed to discriminate among 28 ancient clones of the cultivar Tempranillo (Vitis vinifera). DNA samples from clones were analysed using t...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Logical Methods in Computer Science

دوره 8  شماره 

صفحات  -

تاریخ انتشار 2010